package main

import (
	"fmt"
	"os"

	"github.com/spf13/cobra"
)

var rootCmd = &cobra.Command{
	Use:   Program,
	Short: fmt.Sprintf("%s is a command-line utility of WiseverDS.Frame", Program),

	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println("Use -h/--help to see help information")
	},
}

func Execute() {
	if err := rootCmd.Execute(); err != nil {
		fmt.Fprintln(os.Stderr, err)
		os.Exit(1)
	}
}
